parameter shown below, where n stands for a designed bin
max and min stand for the maximum and minimum values of a
respectively,
ݓൌmax െmin
݊
(2.2)
nstance, if the bin number was five when calling the hist
for the sample SRR1039508 of the airway data, the estimated
was slightly different. This is shown in Figure 2.4, where the actual
er became seven. The height of a bin represents a count, i.e., the
f data points falling within a bin. For instance, the height of the
on the left side was 4,506. The following code can be used to
hether this height is true,
sum(log(x[which(x[,1]>0),1])<2)
he histogram of the logarithm-transformed non-zero sequencing counts of the
R1039508. The designed bin number was five. The actual bin number was seven.
ther enhancement of the histogram approach is to generate a
m shown in Figure 2.5, where a smooth density curve was added.
s, the parameter prob of the hist function was switched on.
ob was switched on, a histogram displayed the probabilities
an the frequencies ݂ for the data. The code below shows how
done. After a histogram was generated by calling the hist
the density function was called to add a smooth density curve.